import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:note/common/common.dart';
import 'package:note/widgets/BasePage.dart';
import 'package:note/widgets/markdownView.dart';
import 'logic.dart';

class AboutAppPage extends StatelessWidget {
  AboutAppPage({Key? key}) : super(key: key);

  final logic = Get.put(AboutAppLogic());
  final state = Get.find<AboutAppLogic>().state;

  @override
  Widget build(BuildContext context) {
    return BasePage(
      child: Scaffold(
        appBar: AppBar(
          backgroundColor: Styles.backgroundColor,
          foregroundColor: Styles.mainThemeColor,
          title: const Text("关于"),
        ),
        body: const MarkDownView(
          path: FilePath.about,
        ),
      ),
    );
  }
}
